package com.jg.blog.service.impl;

import com.jg.blog.mapper.SysUserMapper;
import com.jg.blog.pojo.SysUser;
import com.jg.blog.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 16436
 * @version 1.0
 * @date 2021/4/26 16:35
 */
@Service
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser getByUsername(String username) {
        return sysUserMapper.getByUsername(username);
    }
}
